# Maintainer:
pkgname=fcitx5-table-other
pkgver=5.1.0
pkgrel=0
pkgdesc="other-table input method support for fcitx5"
url="https://github.com/fcitx/fcitx5-table-other"
# armhf: extra-cmake-modules
arch="noarch !armhf"
license="GPL-3.0-only"
makedepends="
	cmake
	extra-cmake-modules
	gettext-dev
	fcitx5-dev
	libime-dev
	samurai
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/fcitx/fcitx5-table-other/archive/refs/tags/$pkgver.tar.gz"
options="!check" # no tests

build() {
	cmake -B build -G Ninja \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
d78b1a2d507b142804bf23627005d0339c0803c10ac8e68343874384e6593d4b50b8eb9aec262e562fa762eeed29a235a045759b6f6217b832025a1c92751e66  fcitx5-table-other-5.1.0.tar.gz
"
